An Empirical Examination of Test-Driven Development

نویسندگان

  • David S. Janzen
  • Hossein Saiedian
چکیده

Despite a half century of advances, the software construction industry still shows signs of immaturity [1]. Professional software development organizations continue to struggle to produce reliable software in a predictable and repeatable manner. While a variety of development practices are advocated that might improve the situation, developers are often reluctant to adopt new, potentially better practices based on anecdotal evidence alone. Empirical evidence of a practice’s efficacy are rarely available or conclusive and adopting new practices is time-consuming, expensive, and risky. Test-driven development (TDD) is a new approach that offers the potential to significantly improve the state of software construction. TDD is a disciplined software development practice that focuses on software design by first writing automated unit-tests followed by production code in short, frequent iterations [3]. TDD focuses the developer’s attention on a software’s interface and behavior while growing the software architecture organically. This research applies empirical software engineering techniques to examine the ability of TDD to produce better software designs than more traditional Test-Last approaches produce in terms of reusability, extensibility, and maintainability. In addition, this research examines the pedagogical implications of the approach and results. If TDD proves to improve software quality at minimal cost, and if students can learn and benefit from TDD from early on, then this research can have a significant impact on the state of software construction. Software development organizations will recognize the benefits of TDD as both a design and testing approach, and they will be convinced to adopt TDD in appropriate situations. New textbooks and teaching materials can be written applying the test-driven learning approach developed in this research. As students learn to take a more disciplined approach to software development with TDD, they will carry this into professional software organizations and improve the overall state of software construction.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Maria Siniaalto Test driven development : empirical body of evidence

Test driven development: empirical body of evidence Status Final Confidentiality Public Abstract This document contains a review of the existing empirical body of evidence on test-driven development.

متن کامل

Establishing an Argument-Based Validity Approach for a Low-Stake Test of Collocational Behavior

Most of the validation studies conducted across varying test application contexts are usually framed within the traditional conceptualization of validity and therefore lack a comprehensive framework to focus on test score interpretations and test score use. This study aimed at developing and validating a collocational behavior test (CBT), drawing on Kane's argument-based approach to validity. F...

متن کامل

روند جهانی در سنجش سرمایه اجتماعی: اثرپذیری از حوزه سیاست‌گذاری اجتماعی

The economists and social scientists of the 20th century were very much concerned with the clarification of the observed differences among countries in terms of economic development. But even later, with the introduction of advanced analytical instruments, the above-mentioned task was not realized. Moreover, the professionals who were practically involved with the development projects came to t...

متن کامل

Effects of Test-Driven Development: A Comparative Analysis of Empirical Studies

Test-driven development is a software development practice where small sections of test code are used to direct the development of program units. Writing test code prior to the production code promises several positive effects on the development process itself and on associated products and processes as well. However, there are few comparative studies on the effects of test-driven development. ...

متن کامل

Factors Associated with FDI Inflows to MENA Region: An Empirical Examination

T he purpose of the current research was to empirically examine the relationship between six independent variables and foreign direct investment (FDI) inflows (dependent variable) to countries in the Middle East and North Africa (MENA) region for the period of 2002-2016. The independent variables studied in this research were foreign exchange systems, go...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006